-
Notifications
You must be signed in to change notification settings - Fork 121
[App size reduction] Remove domain-credit asset and related code
#15754
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[App size reduction] Remove domain-credit asset and related code
#15754
Conversation
Generated by 🚫 Danger |
|
|
|
Hi @iamgabrielma - could you please remove all the domain folder and tests? I don't think keeping them around is useful. |
No problem! I've removed the domain folder and tests from the woo layer, but there's still dead code in Yosemite and Networking. This can be handled separately, as this PR is already close to 3k lines 👍 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for removing the assets and dead code for the domain feature. We've removed the entry points from both Settings and Store onboarding dashboard card so it's good to remove all the code now.

Description
This PR removes the usage of the unused
domain-creditimage as part of reducing the app size on WOOMOB-534. After checking with Kiwi folks it seems we no longer have an entry point for the domain purchase feature as a whole ( #15680 ), so I took the opportunity to clean up the related code as well.I've only removed the code directly coupled with the feature, happy to remove the rest in this same PR (there's still files remaining under the
/domainsfolder as well as 2 test suites that we might not need to run anymore).Testing information
Domains rowunder Menu tab > Settings, on a WPCom test store without a custom domain, and no other entry points or access to the deleted files since theDomainSettingsCoordinatoris out of the settings controller, but let me know if I missed something.